package com.ruoyi.standingbook.cleaning.service;

import com.ruoyi.standingbook.cleaning.domain.CleaningImportBase;
import com.ruoyi.standingbook.cleaning.domain.vo.CleaningImportBaseVo;
import com.ruoyi.standingbook.cleaning.domain.bo.CleaningImportBaseBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 清扫保洁导入Service接口
 *
 * @author cc
 * @date 2023-04-27
 */
public interface ICleaningImportBaseService {

    /**
     * 查询清扫保洁导入
     */
    CleaningImportBaseVo queryById(String batchNo);

    /**
     * 查询清扫保洁导入列表
     */
    TableDataInfo<CleaningImportBaseVo> queryPageList(CleaningImportBaseBo bo, PageQuery pageQuery);

    /**
     * 查询清扫保洁导入列表
     */
    List<CleaningImportBaseVo> queryList(CleaningImportBaseBo bo);

    /**
     * 新增清扫保洁导入
     */
    Boolean insertByBo(CleaningImportBaseBo bo);

    /**
     * 修改清扫保洁导入
     */
    Boolean updateByBo(CleaningImportBaseBo bo);

    /**
     * 校验并批量删除清扫保洁导入信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
